* {
    margin: 0 ;
    padding: 0 ;
    box-sizing: border-box;
    outline: none;
}

.cta *:focus{
    box-shadow: 0 0 0 0.1rem hwb(27 91% 1% / 0.188);
    border-radius: 11px;
}


/*--------------------------------
            GENERAL
---------------------------------*/
body {
    line-height: 1 ;
    color: #333; 
    font-family: sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
.heading-premary, .heading-secondary, .heading-tertiary{
    font-weight:700 ;
    color: #333;
    letter-spacing: -0.5px;

}
.heading-premary{
    font-size: 5.2rem;
    margin-bottom: 3.2rem;  
    line-height: 1.2;

}
.heading-secondary{
    font-size: 4.4rem;
    margin-bottom: 9.6rem;
    line-height: 4.8rem;
}
.align-text{
    text-align: center;
    
}
.heading-tertiary{
    font-size: 3rem;
    margin-bottom: 3.2rem;
}
.subheading{
    font-size: 1.6rem;
    color: #cf711f;
    margin-bottom: 3.2rem;
    width: 500;
    letter-spacing: 0.4rem;
}

.btn:link, .btn:visited{
    padding: 1.6rem 3.2rem;
    text-decoration: none;
    border-radius: 9px;
    font-size: 2rem;
    transition: all 3ms;
    display: inline-block;
    font-weight: 500;
}
.btn-full:link, .btn-full:visited{
    background-color:#e67e22;
    color: #fff;
}

.btn-full:hover, .btn-full:focus{
    background-color:#cf711f ;
    
}

.btn-outline:link, .btn-outline:visited{
    background-color: #fff;
    color: #555;
}
.btn-outline:hover, .btn-outline:focus{
   box-shadow:inset 0 0 0 3px #fff; 
   background-color: #fdf2e9;
}
.grid{
    display: grid;
   row-gap:9.6rem;
   column-gap: 6.4rem;
   margin-bottom: 9.6rem ;
}

.grid:last-child{
    margin-bottom: 0rem !important;
}




.grid-center-v{
    align-items: center;
}

.grid-2-cols{
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-cols{
    grid-template-columns: repeat(3, 1fr);
}

.grid-4-cols{
    grid-template-columns: repeat(4, 1fr);
}

.grid-5-cols{
    grid-template-columns: repeat(5, 1fr);
}

.container{
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.link:link, .link:visited{
    display: inline-block;
    color: #e67e22;
    text-decoration: none;
    border-bottom:  solid 1px currentColor;
    transition: all 0.3s;

}

.link:hover, .link:focus{
    border-bottom: solid 1px transparent;

}
/*------------------------------------------
                 HEADER
------------------------------------------*/
header{
    background-color: #fdf2e9;
    display: flex;
    align-items: center; 
    justify-content: space-between;
    padding: 0 4.8rem;
    height: 9.6rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent; /* در ابتدا شفاف */
    transition:background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 1000;
}



/* هنگام اسکرول، پس‌زمینه‌ی سفید می‌شود */
.header.scrolled {
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-site{
    width: 20rem;
    height: 11rem;
}

.main-menu{
    display: flex;
    gap: 4.8rem;
    align-items: center;
}

.main-menu-list{
    display: flex;
    gap: 3.2rem;
    list-style: none;
    transition: all 0.3s;
    align-items: center;
}

.main-menu-link.main-menu-cta:link, .main-menu-link.main-menu-cta:visited {
    background-color: #e67e22;
    color: #fff;
    padding: 1.2rem 2.4rem;
    border-radius: 9px;
}

.main-menu-link.main-menu-cta:hover, .main-menu-link.main-menu-cta:active{
    background-color: #cf711f;
    color: #fff;

}

.main-menu-link{
    text-decoration: none;
    font-size: 1.8rem;
    width: 500;
    display: inline-block;
}

.main-menu-link:link, .main-menu-link:visited {
    text-decoration: none;
    color: #333;
}

.main-menu-link:hover, .main-menu-link:active {
    text-decoration: none;
    color: #e67e22;
}

.btn-mobile-nav{
    display: none;
    z-index: 10;
}


/*------------------------------------------
                 HERO SECTION
-------------------------------------------*/
.hero-section{
    padding: 0 3.2rem;
    background-color: #fdf2e9;
    padding-top: 9.6rem;
}
.margin-right-sm{
    margin-right: 1.6rem !important;   
}


.hero {

     display: grid;
     grid-template-columns: 1fr 1fr;
     max-width: 130rem;
     margin: 0 auto;
     gap: 9.6rem;
     margin: 0 auto;
     padding: 4.8rem 0 9.6rem 0;
}
.hero-img{
    width: 100%;
}
 
.hero-text-box{
    align-content: center;
}

.heading-premary{
    text-transform: uppercase;
}

.heading-text{
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 4.8rem;
}
.btn:link, .btn:visited{
    padding: 1.6rem 3.2rem;
    text-decoration: none;
    border-radius: 9px;
    font-size: 2rem;
    transition: all 3ms;
    display: inline-block;
    font-weight: 500;
}
.btn-full:link, .btn-full:visited{
    background-color:#e67e22;
    color: #fff;
}

.btn-full:hover, .btn-full:focus{
    background-color:#cf711f ;
    
}

.btn-outline:link, .btn-outline:visited{
    background-color: #fff;
    color: #555;
}
.btn-outline:hover, .btn-outline:focus{
   box-shadow:inset 0 0 0 3px #fff; 
   background-color: #fdf2e9;
}

.customers-box{
    display: flex;
    margin-top: 8rem;
    gap: 1.6rem;
    align-items: center;
}
.customers-imgs{
    display: flex;
   
}
.cus-img:first-child{
    margin-left: 0;
}

.cus-img{
     width: 4.8rem;
    height: 4.8rem; 
    border-radius: 5rem;
    border:3px solid #fdf2e9;
    margin-left: -1.6rem;
}
.customer-text{
    font-size: 1.8rem;
    font-weight: 500;
}
.customer-text span{
    color: #e67e22;
}

/*------------------------------------------
                 LOGO SECTION
-------------------------------------------*/
.logo-section{
    padding: 9.6rem 0;
}

.logo-header{
    font-size: 1.4rem;
    color: #888;
    font-weight: 500;
    letter-spacing: 0.75px;
    text-align: center;
    margin-bottom: 4.2rem;
}

.logo-img {
    display: flex;
    justify-content:space-around;    
}

.logo-img img{
    height: 3.2rem;
    filter: brightness(0);
    opacity: 0.5;
}

/*----------------------------------
              SECTION HOW
----------------------------------*/
.section-how{
    padding: 9.6rem 0;
}
.step-number{
    font-size: 9.6rem;
    color:#ddd;
    margin-bottom: 1.2rem;
}
.step-description{
    font-size: 1.8rem;
    line-height: 1.8;
}
.step-img-box{
    display: flex;
    justify-content: center;
    justify-items: center;
    position: relative;
}
.step-img{
    width: 35%;
}
.step-img-box::before, .step-img-box::after {
    content: '';
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}
.step-img-box::before{
    width: 60%;
    padding-bottom: 60%;
    background-color: #fdf2e9;
    z-index: -2;

}
.step-img-box::after{
    width: 45%;
    padding-bottom: 45%;
    background-color:#fce2cd ;
    z-index: -1;
}

/*----------------------------------
               MEALS SECTION
----------------------------------*/
.meals-section{
    padding: 9.6rem 0;
}

.meals{
    border-radius: 1.2rem ;
    box-shadow: 0 2.4rem 4.8rem 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.meals:hover{
    transform:translateY(1.2rem) ;

}
.meal-tag{
    margin-bottom: 1.2rem;
    display: flex;
    gap: 0.4rem;
}

.tag{
    display: inline-block;
    font-size: 1.2 rem;
    color: #fff;
    font-weight: 500;
    padding: 0.4rem 0.8rem ;
    background-color: #51cf66;
    border-radius:45px;
}
.tag-vegetarian{
    background-color: #51cf66;
}
.tag-vegan{
    background-color: #94d84d;
}
.tag-organic{
    background-color: #ffd43d;

}

.food-name{
    margin-bottom: 3.2rem; 
    font-size: 2.4rem;
    color: #333;
    font-weight: 500;    
}

.attributes{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.attribute{
    font-size: 1.8rem;
    font-weight: 400;

}

.meal-img{
    width: 100%;
}
.meal-content{
    padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}

.attribute-title{
    display: flex;
    justify-items: center;
    gap: 0.4rem;
}
.attribute-icon{
    color: #e67e22;
}
.diets{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.diet-text{
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;}

.diet-icon{
    color: #e67e22;
    width: 3rem;
    height: 3rem;
}

.diet-link-box{
    letter-spacing: 0.75px;
    font-size: 1.8rem;
    margin-top:8rem;
    text-align: center;
}

/*----------------------------------
        TESTIMONIAL SECTION
----------------------------------*/

.testimonial-section{
    display: grid;
    grid-template-columns:55fr 45fr;
    background-color: #fce2cd;
    align-items: center;
}

.testimonials{
    padding: 9.6rem 3.2rem;
}
.testimonial-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.8rem;
}

.testimonial-box{
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.testimonial-text{
    font-size: 1.8rem;
    color: #333;
    font-weight: 400;
    line-height: 2.8rem;
}

.name{
    font-size:1.4rem ;
    color: #777;

}


.testimonial-img{
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 50%;
}

.gallery{
    padding: 1.6rem;

    display: grid;
    row-gap:1.6rem;
    column-gap: 1.6rem;
}
.gallery-img{
        overflow: hidden;

}
.gallery-img img{
    width: 100%;
    display: block;
    transition: all 0.4s;
}

.gallery-img img:hover{
    transform:scale(1.1);

}

/*----------------------------------
            PRICE SECTION
----------------------------------*/
.section-prices{
    padding: 9.6rem 0;
}

.header-price{
    text-align: center;
    margin-top: 4.8rem;
    margin-bottom: 4.8rem;

}

.plan-name{
    font-size: 2rem;
    color: #e67e22;
    font-weight: 500;
    margin-bottom: 3.2rem;
}

.plan-price{
    font-size:6.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.6rem;

}

.plan-price span{
    font-size: 2rem;
    margin-left: 1.6rem;
}

.plan-text{
    font-size: 1.6rem;
    color: #6f6f6f;
}

.sign-in-section{
    margin-top: 4.8rem;
}
.price-card{
    border-radius: 11px;
    width: 70%;
}

.complate{
    background-color: #fce2cd;
    padding: 4.8rem;
    position: relative;
    overflow: hidden;
}

.base{
    border:2px solid #fce2cd;
    justify-self: end;
    padding: 4.6rem;
}

.complate::before{
    position: absolute;
    text-align: center;
     content: 'Best Price';
     background-color: #ffd43d;
     color: #333;
     font-weight: 700;
     padding: 0.5rem 12rem;
     transform: rotate(-45deg);
     left: -90px;
     top: 40px;
}

.plan-detail{
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.6rem;
    color: #333;
    margin-bottom: 9.6rem;
    margin-top: 4.8rem;
}

.feature{
    text-align: center;
}

.feature-icon{
    color: #e67e22;
    background-color: #fdf2e9;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    padding: 1.6rem;
    margin-bottom: 3.2rem;
}

.feature-title{
    font-size: 2.4rem;
    width: 700;
    color: #333;
    margin-bottom: 1.6rem;
}

.feature-text{
    font-size: 1.6rem;
    line-height: 2rem;
}

/*---------------------------------------
                CTA SECTION
---------------------------------------*/

.section-cta{
    padding: 4.8rem 0 12.8rem;
   
}

.cta{
    display: grid;
    grid-template-columns: 2fr 1fr;
    background-image: linear-gradient(to left bottom, #e67e22, #eb9840);
    box-shadow: 0 2.4rem 2.4rem rgba(0, 0, 0, 0.15);
    border-radius: 11px;
    overflow: hidden;
}

.cta-img{
    background-image: linear-gradient(to left bottom, rgba(230, 125, 34, 0.353), hsla(31, 81%, 59%, 0.353)),
     url(../images/eating.jpg) ;
    background-size:cover;
}

.cta-text-box{
    padding: 4.8rem 6.4rem;

}

.cta-text-box .heading-secondary{
    color: #45260a;
    margin-bottom: 3.2rem;

}

.cta-text{
    font-size: 1.8rem;
    color: #45260a;
    margin-bottom: 4.8rem;
    line-height: 2.4rem;
    
}

.cta-form{
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 4.8rem;
    column-gap: 3.2rem;
}

.cta-form input, .cta-form select{
    width: 100%;
    font-size: 1.2rem;
    border-radius: 9px;
    color: inherit;
    padding: 1.2rem;
    border: none;
    background: #fdf2e9;
}

.cta-form label{
    display: block;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: inherit;
}
 
 .btn-form{
    background-color:#45260a ;
    border: none;
    border-radius: 9px;
    color: #fdf2e9;
    align-self: end;
    padding: 1.2rem;
    cursor: pointer;
    
}

/*---------------------------------------------
                    FOOTER
---------------------------------------------*/
.footer{
    
    padding: 12.8rem 0;
    gap: 3.2rem;
    border-top: 1px solid #eee;
}

.footer-grid{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.logo-footer-box{
    display: flex;
    flex-direction: column;
}

.footer-logo{
    width: 100%;
    margin-bottom: 3.2rem;
}

.footer-heading{
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 4.8rem;
}

.footer-nav{
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    list-style: none;

}

.footer-link:link, .footer-link:visited{
    text-decoration: none;
    font-size: 1.4rem;
    color: inherit;   
}

.footer-link:hover, .footer-link:active{
    color: #555;
}

address{
    font-style: normal;
}
.social-logo{
    display: flex;
    gap: 2.4rem;
    align-items: center;
}

.logo-link:link, .logo-link:visited{
    font-size: 1.8rem;
}
.Copyright{
    margin-top: auto;
    color: #767676;
    line-height: 1.2rem;
    letter-spacing: 0.75px;
}

/*-----------------------------------------
                  RESPANSIVE 
-----------------------------------------*/

/* 1350px / 16px =84em*/
@media ( max-width: 84em){
    .hero{
        max-width: 120rem;
    }
    .gallery{
        grid-template-columns: 1fr 1fr;
    }
}

/* 1200px / 16px =75em*/
@media (max-width:75em){
    html{
        font-size: 56.25%;
    }
    .main-menu{
        gap: 3.2rem;
    }
    .hero{
        column-gap: 4.8rem;
    }
}

/* 976px / 16px =61em*/
@media(max-width:61em){
    .hero, .testimonial-section{
        grid-template-columns: 1fr;
    }

    .hero-text-box{
        text-align: center;
        margin-bottom: 3.2rem;
    }

    .customers-box{
        margin-top: 4rem;
        justify-content: center;
    }

    .hero-img-box{
        text-align: center;
        margin-bottom: 4rem;
    }

    .heading-secondary{
        font-size: 3.6rem;
    }

    .heading-tertiary{
        font-size: 2.4rem;
    }

    .step-number{
        font-size: 8rem;   
    }

    .meal-content{
        padding: 1.6rem 2.4rem 2.4rem 2.4rem;
    }

    .gallery{
        grid-template-columns: repeat(4, 1fr);
    }

    .price-card{
        width: 80%;
    }

    .base{
        padding: 3rem;
    }
    .complate{
        padding: 3.2rem
    }

    .cta{
        grid-template-columns: 3fr 2fr;
       
    }

    .cta-form{
        grid-template-columns: 1fr;
        row-gap: 3.2rem;
    }

    .hero-img{
        width: 65%;
    }

    .btn-mobile-nav{
        border: none;
        background: none;
        cursor: pointer;
    }
    
    .icon-mobile-nav{
        color: #333;
        width: 4.8rem;
        height: 4.8rem;
    }

    .btn-mobile-nav{
        display: block;
    }

    .icon-mobile-nav[name="close"] {
        display: none;

    }

    .main-menu{
        position: absolute;
        background-color: rgba(255, 255, 255, 0.771);
        width: 100%;
        height: 100vh;
        top: 0;
        right: 0;
        display: flex;
        justify-content: center;
        opacity: 0;
        transition: all 0.5s ease-in;
        visibility: hidden;
        pointer-events: none;
        transform: translate(100%);

        
    }

    .nav-open .main-menu{
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
     
    }

    .main-menu-list{
        flex-direction: column;
        gap: 4.8rem;
        align-items: center;
    }

    .main-menu-link{
        font-size: 1.8rem;
        font-weight: 700;
    }

    .nav-open .icon-mobile-nav[name="close"]{
        display: block;
    }

    
    .nav-open .icon-mobile-nav[name="menu"]{
        display: none;

    }

    .nav-open .main-menu{
        transform: translate(0);
    }
    
}


/* 750px / 16px =47em*/

@media(max-width:47em) { 
    .grid-3-cols, .grid-4-cols{
        grid-template-columns: 1fr 1fr;
    }

    .diets{
        grid-column: 1/-1;
        justify-self: center;
    }

    .price-card{
        width: 100%;
    }
    .cta-img{
        background-position: center;
        
    }
    
    .footer-grid{
        grid-template-columns: repeat(6, 1fr);
    }
    
    .contact-box{
        grid-row: 1;
        grid-column: span 2;
        margin-bottom: 3.2rem;
    }

    .logo-footer-box, .address-box{
        grid-column: span 3;

    }

    .footer-logo{
        width: 50%;
    }

    .Copyright{
        border-top: #eb1010;
    }
}


/* 608px / 16px =38em*/
@media(max-width:38em){
    .grid-2-cols, .grid-3-cols, .grid-4-cols{
        grid-template-columns: 1fr;
    }
    .grid{
        row-gap: 4.8rem;
    }

    .hero-section{
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        padding-top: 9.6rem;
    }

    .hero{
        padding:2.4rem 1.2rem;
        
    }

    .hero-img{
        width: 90%;
    }

    .cus-img{
        width: 3.2rem;
        height: 3.2rem;
    }

    .btn-full{
        margin-bottom: 1.6rem;
    }

    .customer-text{
        font-size: 1.6rem;
    }



    .logo-section{
        display: none;
    }

    .heading-premary{
        font-size:4.4rem;
    }

    .heading-secondary{
        font-size:3rem ;
    }

    .heading-tertiary{
        font-size:2rem ;
    }

    .heading-premary{
        font-size: 4.4rem;    
    }

    .step-number{
        font-size:6.2rem ;
    }

    .step-img-box:nth-child(2) {
        grid-row: 1;
    }

    .step-img-box:nth-child(6){
        grid-row: 5;
    }

    .step-img-box{
        transform: translateY(3.2rem);
    }

    .testimonial-container{
     grid-template-columns: 1fr;
    }

    .gallery{
        display: grid;
        grid-template-columns:repeat(4, 1fr);
        gap: 0.8rem;
    }

    .sign-in-section{
        text-align: center;
    }

    .feature{
        margin-bottom: 3.2rem;
    }

    .cta{
        grid-template-columns: 1fr;
    }

    .cta-img{
        height: 32rem;
        grid-row: 1;
    }


   
}






